In today's context, prolonged exposure to sunlight is widely recognized as a threat to human health, leading to a range of adverse consequences, including skin cancers, premature skin aging, and erythema. To mitigate these risks, preventive actions mainly focus on advocating the application of sunscreen lotions and minimizing direct exposure to sunlight. This research study specifically centered on ensulizole (ENS), a prominent ingredient in sunscreens. The objective was to create inclusion complexes (ICs) with Beta-cyclodextrin (B–CD) and its hydroxypropyl derivatives (H–CD). Using phase solubility measurements, we determined that both B–CD and H–CD form 1:1 stoichiometric ICs with ENS. Proton nuclear magnetic resonance spectral (1H NMR) analysis confirmed that the phenyl portion of ENS is encapsulated within the B–CD cavity. Significant changes in surface morphology were observed during the formation of these ICs compared to ENS and CDs alone. Quantum mechanical calculations were employed to further support the formation of ICs by providing energy data. Particularly, the photostability of the ENS:B–CD ICs remained intact for up to four hours of UV exposure, with no significant alterations in the structure of ENS. Furthermore, comprehensive biocompatibility assessments yielded encouraging results, suggesting the potential application of these inclusion complexes in cosmetics as a UVB sunscreen. In summary, our research underscores the successful creation of inclusion complexes characterized by enhanced photostability and safe biocompatibility.