Maximilian Emanuel Ainmiller (14 February 1807 – 9 December 1870) was a German artist and glass painter.
Under the tutorage of Friedrich von Gärtner, director of the royal Nymphenburg Porcelain Manufactory, Ainmiller studied glass painting, both as a mechanical process and as an art, at the Academy of Fine Arts in Munich. In 1828 he was appointed director of the newly-founded royal painted-glass manufactory at Munich. The method which he gradually perfected there was a development of the enamel process adopted in the Renaissance, and consisted in actually painting the design upon the glass, which was subjected, as each colour was laid on, to carefully adjusted heating.
The earliest specimens of Ainmiller's work are to be found in the cathedral of Regensburg. With a few exceptions, all the windows in Glasgow cathedral are from his hand. Specimens may also be seen in St Paul's cathedral and Peterhouse, Cambridge, and the Cologne cathedral contains some of his finest productions. Ainmiller had considerable skill as an oil-painter, especially in interiors, his pictures of the Chapel Royal at Windsor Castle and of Westminster Abbey being much admired. He is buried in the Alter Südfriedhof in Munich.
Maximilian was also mentor to many famous painters, including future son-in-law David Dalhoff Neal, and grandfather to dramatist Max Neal, and composer Heinrich Neal who was born a few month prior to his death.