The monastery is a historic and cultural monument and was listed as a UNESCO World Heritage site in 1983.
The monastery was built to thank the Virgin Mary for the Portuguese victory over the Castilians in the Battle of Aljubarrota in 1385, fulfilling a promise of King John I of Portugal. The battle put an end to the 1383–1385 Crisis.
It took over a century to build, starting in 1386 and ending circa 1517, spanning the reign of seven kings. It took the efforts of fifteen architects (Mestre das Obras da Batalha), although for seven of them the title was merely honorary. The construction required an enormous effort, using extraordinary resources of men and material. New techniques and artistic styles, hitherto unknown in Portugal, were deployed.
Work began in 1386 by the Portuguese architect Afonso Domingues, who continued until 1402. He drew up the plan, and many of the structures in the church and the cloister are his doing. His style was essentially Rayonnant Gothic; however, there are influences from the English Perpendicular Period. There are similarities with the façade of York Minster and with the nave and transept of Canterbury Cathedral.
He was succeeded by Huguet from 1402 to 1438. This architect, who was probably of Catalan descent, introduced the Flamboyant Gothic style. This is manifest in the main façade, the dome of the square chapter house, the Founder's Chapel, the basic structure of the Imperfect Chapels and the north and east naves of the main cloister. He raised the height of the nave to 32.46 m. By altering the proportions he made the interior of the church seem even narrower. He also completed the transept, but he died before he could finish the Imperfect Chapels.