James Allen (15 July 1802 – 26 June 1897) was an Anglican clergyman, the second Dean of St David's. Allen was born in Burton, Pembrokeshire. He was educated at Westminster, Charterhouse and Trinity College, Cambridge, graduating in 1825. He was Vicar of Castlemartin from 1839 to 1872, and a Canon Residentiary at St David's before his elevation to the Deanery. He died on 26 June 1897 at St David's.