James Pain (1779 – 13 December 1877) was an English architect. Born into a family of English architects, his grandfather was , his father James Pain and his brother George Richard Pain. James Pain served as an apprentice to the architect John Nash of London. James and George Richard were commissioned by the Board of First Fruits to design churches and glebe houses in Ireland. In 1833, James Pain became one of the four principal architects of the Board of Ecclesiastical Commissioners. He settled in Limerick, Ireland. Many of his designs were produced in collaboration with his brother George Richard who practised in Cork.