Herbert had to leave for England almost at once, a reconstruction of the ministry was made, and Macalister again became Premier on 7 August 1866. He resigned a year later and was again elected Chairman of Committees. When Charles Lilley became Premier in November 1868, Macalister took office as Secretary for Public Lands and Works, and for the goldfields. This ministry resigned in May 1870 and, in November, Macalister was elected Speaker. Macalister lost his seat after a hectic campaign in June 1871 but was re-elected for Ipswich in 1872 in a by-election. Macalister formed his third ministry in January 1874 and resigned in June 1876 to become Agent-General for Queensland in London.