Abstract This study investigates the potential of hydrogen and ammonia, as alternatives for transportation fuels to tackle urgent issues concerning greenhouse gas emissions and air quality in the worldwide transportation sector. By examining studies and technological progresses, we evaluate the feasibility of transitioning to these energy options. Through an investigation of production methods, energy efficiency, environmental consequences, and infrastructure requirements, we present both the advantages and disadvantages of using hydrogen and ammonia as fuel substitutes. We spotlight production techniques such as electrolysis and renewable energy sources that could significantly decrease carbon emissions and air pollutants. Nonetheless, key challenges such as expanding infrastructure, cost-effectiveness, and safety considerations need to be resolved for adoption. Drawing on findings from research and industry developments, this article contributes to publications on transportation solutions while proposing avenues for research efforts and policy initiatives. Existing challenges and limitations are also discussed in details. In conclusion, this research underscores the significance of research endeavors and policy backing to unlock the potential of hydrogen and ammonia as sustainable transportation fuels underscoring their role in mitigating environmental impacts and promoting global sustainability objectives.