The invention relates to a panel and a method for producing a panel. The panel is in particular a floor, wall or ceiling panel, and comprises at least one core layer, the core layer comprising an upper core surface and a lower core surface and at least one pair of opposite side edges; wherein the core layer comprises magnesium oxide cement and fibres dispersed in said magnesium oxide cement.