Novel pyrimido[4,5-b]quinolines and pyrido[2,3-d:6,5- $d^\prime }$ ]dipyrimidine derivatives were synthesized in one-pot, three-component approach using sulfonic acid supported on hydroxyapatite-encapsulated- γ-Fe2O3 [γ-Fe2O3@HAp-SO3H] as magnetically recoverable nanocatalyst. The protocol provided a rapid, useful and green method for the preparation of the products in short reaction times and high yields.