What type of rock is coal?
Sedimentary rock
Of the three categories of rocks, sedimentary, igneous and metamorphic, sedimentary is the closest type that coal could fit into. Coal was not derived from molten material, so is not igneous by definition. It was not transformed under temperature and pressure from a pre-existing rock into a metamorphic rock. Coal was lithified by compressive forces from loose material at relatively low temperature. This is most similar to how sedimentary rock is formed