Two polymorphs of tolazamide, N-[(azepan-1-ylamino)carbonyl]-4-methylbenzenesulfonamide, a sulfonylurea anti-diabetic drug, have different densities and molecular packings. Polymorph II converts into polymorph I in the solid state on heating or via recrystallization if solvent-assisted. The effect of pressure on the two forms and the possibility of a transformation to a denser form on compression have been studied. No phase transitions have been observed in either of the forms in a pentane-isopentane mixture (when no recrystallization is possible). Polymorph II recrystallized partly into a denser polymorph I in methanol at 0.1 GPa, but the transformation stopped at an early stage. Solid state DFT calculations of the two forms as well as conformational landscape investigation in the gas phase were used to rationalize this result. The anisotropic pressure-induced strain of the two polymorphs has been compared in relation to changes in the hydrogen bond geometry and the behavior of stacking interactions.