A series of biologically relevant 1,4‐benzoxazepine and 1,4‐benzodiazepine derivatives were synthesized via a one‐pot three‐component reaction of 2‐aminophenol or ortho‐phenylenediamine, dimedone, and aromatic aldehydes catalyzed by UiO‐66 metal‐organic framework (MOF). This methodology provides excellent yields, simple procedure, short reaction time, low‐cost catalyst, and mild reaction conditions. The UiO‐66 MOF, which was characterized by different spectroscopic techniques such as XRD, FT‐IR, and TEM, could be recovered and reused up to eight times with no significant loss of catalytic performance.