The MGWR Class D were 2-4-0 steam locomotives built in batches from 1873 to 1887 for the Midland Great Western Railway (MGWR) of Ireland to a Martin Atock design. Numbering 39 at their peak they were the standard MGWR passenger locomotive of their era. Six of the class were rebuilt as 4-4-0.