A roof module comprises an outer shell and a foamed inner shell. The outer shell has a rim including an edge of cut and the inner shell extends as far as on the edge of cut. There is also proposed a method of producing such a roof module.