A case of a pneumomediastinum mimicking a pericarditis in a boy with an occult perforation due to ulcerative colitis is reported. Pneumomediastinum is a rare complication of severe attacks of ulcerative colitis, with or without the previous development of a toxic megacolon, that should be considered in the differential diagnosis.