A process and pharmaceutical composition containing simethicone and magnesium carbonate allows a higher production rate of simethicone containing tablets and a more consistent end product tablet. The magnesium carbonate prevents sticking of simethicone to tablet compressing apparatuses, and may also prevent sticking of other excipients to tablet compressing apparatuses.