In this paper, tributyl(carboxymethyl)phosphonium bromotrichloroferrate as a new magnetic ionic liquid bearing acetic acid tags was synthesized and characterized by several methods including Fourier transform infrared spectroscopy (FT-IR), energydispersive X-ray spectroscopy (EDX), vibrating sample magnetometer (VSM), thermogravimetric analysis (TGA) and derivative thermogravimetry analysis (DTG). The prepared magnetic ionic liquid was applied as catalyst for synthesis of 2,3-dihydroquinazolin- 4(1H)-ones and 4H-pyrimidobenzothiazole derivatives under solvent free conditions.