The application of Ga-MCM-41-SO3H as a new efficient heterogeneous catalyst for the synthesis of celecoxib and pyrazole derivatives under room temperature is reported. The mesoporous material Ga-MCM-41 was first prepared and then functionalized with the sulfonic acid group by the post-synthetic modification to obtain the final solid acid catalyst. The successful grafting of the -SO3H group onto the Ga-MCM-41 mesoporous walls was asserted by X-ray diffraction, scanning electron microscopy equipped with energy dispersive spectroscopy (SEM/EDS), and acid–base titration. The catalytic application of Ga-MCM-41-SO3H in the synthesis of celecoxib and pyrazole derivatives has resulted in a high yield (up to 95%) under mild conditions. Notably, the Ga-MCM-41-SO3H catalyst was stable and was able to reuse at least five times without losing significant catalytic activity.