Total Hydrocarbon (THC) is a critical air pollutant composed of various hydrocarbon compounds, commonly emitted from vehicle exhaust, industrial activities, and fuel combustion. Accurate estimation of THC concentrations is essential for understanding pollution patterns and supporting environmental management. This study applies a Light Gradient Boosting Machine (LightGBM) model to estimate the spatiotemporal variation of THC levels in a part of the Northern Air Quality Zone (AQZ) from June 25, 2015, to December 31, 2020, with 2021 used for testing with unseen data. LightGBM, a machine learning algorithm known for its high accuracy and computational efficiency, achieved strong predictive performance with R2 values of 0.84 for training, 0.82 for validation, and 0.77 for testing. The average THC concentration in the study area was 2.07 ppm. SHAP (SHapley Additive exPlanations) analysis revealed that nitrogen dioxide (NO?) and nitrogen oxides (NOx) were the most influential predictors, highlighting their close association with combustion-related emissions. Other important variables included population density, land use types such as plantation forests and paddy fields, and wind speed. Spatially, THC concentrations were higher in the western part of the study area, which is more urbanized and industrialized, compared to the more rural eastern region. These results demonstrate the potential of LightGBM to model complex air pollution patterns and support data-driven air quality strategies.