Abstract The utilization of compression ignition (CI) diesel engines has seen a substantial increase in recent years owing to their numerous advantages. However, the widespread adoption of these engines has also significantly contributed to environmental pollution issues, with diesel engines being recognized as major global contributors to exhaust emissions-related pollution. To address this issue, comprehensive research has been carried out on both emissions from diesel exhaust pollutants and advanced after-treatment technologies for emission control. This study aims to evaluate the efficiency and emissions of diesel fuel mixed with various ratios of biofuel derived from Karanja seeds (B10, B15, and B20). Among the different blends examined, B20 demonstrated superior performance in terms of brake thermal efficiency (BTE) and brake-specific fuel consumption (BSFC), along with lower levels of hydrocarbon (HC) and carbon dioxide (CO2) emissions compared to pure diesel. Further, the impact of nanoadditives, specifically titanium dioxide (TiO2), at different concentrations (80 ppm, 100 ppm, and 120 ppm), on B20 blends was evaluated. The findings indicated that B20 blended with 100 ppm of TiO2 exhibited superior performance in terms of BTE, BSFC, and lower emissions of HC, CO2, nitrogen oxides (NOx), and carbon monoxide (CO). From the results, the BTE increases from 1% to 33%, illustrating enhanced thermal efficiency under similar conditions. The average BSFC across all loads and speeds in the table is approximately 0.89 kg/kWh, while the average BTE stands at approximately 23.1%.