This study examines the possibility of extracting rare earth elements (REEs) from coal samples acquired from the Hangu Formation in Dawli region of District Orakzai, Khyber Pakhtunkhwa (KP), Pakistan. A variety of advanced analytical techniques, such as proximate analysis, froth flotation, geochemical analysis (Atomic Absorption Spectroscopy and Inductively Coupled Plasma Mass-spectrometry (ICP-MS)), and mineralogical assessment using XRay Diffraction (XRD), Scanning Electron Microscopy and Energy Dispersive X-ray Spectroscopy (SEM-EDS), were utilized in order to evaluate the geochemical composition, mineralogy, the coal’s quality and the possibility of extracting the REEs. The gross calorific value (GCV) of the coal was determined to be 6400 BTU/lb, while proximate analysis indicated sulfur and ash contents of 1.8% and 24.5%, respectively. The coal samples underwent froth flotation process, which substantially improved the quality of the coal by enhancing its fixed carbon content by 12% while reducing its sulfur and ash content by 17% and 15%, respectively. Neodymium (Nd), Yttrium (Y), Cerium (Ce), and Samarium (Sm) are some of the most significant rare earth elements (REEs) found in the coal, according to the geochemical analysis. A specific concentration of these elements in the current coal was observed to be 0.015 and 0.030 for yttrium (Y) and cerium, respectively, and 0.022 and 0.007 for neodymium (Nd) and samarium (Sm). The results show that the coal samples have a relatively low enrichment of rare earth elements (REEs), having cerium as the highest concentration, followed by neodymium and yttrium. Through the flotation process, these percentages were further concentrated, and resulting in increased percentages of light REEs (LREE). The statistical assessments and results demonstrated that the ash content decreased significantly during flotation and that the gross calorific value of flotation increased significantly, both of which indicated a substantial improvement in the quality coal quality. The results indicate that the coal of the Hangu Formation is enriched in important rare earth elements (REEs), and has large commercial importance with high energy potential. The advancement of technology, such as electronics, sustainable energy systems, and applications in the military, depending on these REEs. The region's strategic importance and ability to promote Pakistan's overall economic and technological growth are emphasized by the total potential for energy production and REE extractions.