Despite having the potential to synthesize stable metal−organic frameworks (MOFs), rare earth metal-based MOFs have not been exploited extensively. Owing to the high coordination numbers, the MOFs can generate a suitable coordination environment for various applications. Herein, samarium (Sm)-based MOFs were synthesized with three different organic linkers, namely, trimesic acid (TMA), meso-tetra(4carboxyphenyl)porphine (TCPP), and 1,3,6,8-tetra(4-carboxylphenyl) pyrene(TBPy) by the solvothermal approach. The morphologies of Sm-TMA MOF, Sm-TCPP MOF, Sm-TBPy MOF were rod-shaped, cubic consisting of stacked 2D layers, and spherical made of small cubic structures, respectively. After the electrochemical properties of the synthesized MOFs were investigated, the MOFs were used to fabricate immunosensors for detection of carcinoembryonic antigen using a label-free signaling strategy. The immunosensors exhibited a wide linear detection range and a lower detection limit. The exhibited reproducibility and selectivity of the immunosensors were within the tolerable limits. The established label-free immunosensor has been successfully applied for detection of carcinoembryonic antigen in human serum samples, demonstrating that the rare earth metal-based MOFs are promising for construction of biosensors for medical diagnosis.