The objective of this non-randomised controlled trial was to evaluate the impact of group-based exercise programme and a home-based exercise programme on Bath Ankylosing Spondylitis Indices, depression and quality of life in patients with ankylosing spondylitis (AS). Approximately 41 patients in a rehabilitation unit were divided into two groups, either group- or home-based exercise programme. Exercise sessions were performed three times a week for a period of 6 weeks. The patients were compared before and after the rehabilitation programme, with respect to Bath Ankylosing Spondylitis Functional Index (BASFI), Bath Ankylosing Spondylitis Disease Assessment Index (BASDAI), Bath Ankylosing Spondylitis Metrology Index (BASMI), Beck Depression Inventory (BDI) and The Nottingham Health Profile (NHP). A statistically significant improvement was observed on BASDAI, BASMI and energy, pain, reaction of emotional and sleep subscores of NHP in both exercise groups after the exercise programme (p < 0.05). No statistically significant changes were detected in BASFI, BDI and social and mobility subscores of NHP in both exercise groups (p > 0.05). No statistically significant differences were found between the two exercise programmes (p > 0.05). Group and home-based exercise programmes are efficient in improving symptoms and mobility and had an important effect on quality of life in patients with AS. Home-based exercise programme, as it is cheaper, more easily performed and efficient, may be preferable for the management programme in AS.