Sulfonic acid functionalized SBA-15 (SBA-Pr-SO3H) with pore size 6 nm as an efficient heterogeneous nanoporous solid acid catalyst exhibited good catalytic activity in the Biginelli-like reaction in the synthesis of spiroheterobicyclic rings with good yield and good recyclability. Spiro-pyrimidinethiones/spiro-pyrimidinones-barbituric acid derivatives were synthesized in a simple and efficient method using the one-pot three-component reaction of a cyclic 1,3- dicarbonyl compounds (barbituric acid), an aromatic aldehyde and urea or thiourea in the presence of nanoporous silica SBA-Pr-SO3H under solvent free conditions. Urease inhibitory activity of spiro compounds were tested against Jack bean urease using Berthelot alkaline phenol–hypochlorite method. Five of 13 compounds were inhibitor and two of them were enzyme activators. Analysis of the docking results showed that, in most of the spiro molecules, one of the carbonyl groups is coordinated with both nickel atoms, while the other one is involved in the formation of hydrogen bonds with important active-site residues. The effect of inserting two methyl groups on N atoms of barbiturate ring, S substituted, ortho, meta and para substituted compounds were investigated too.