This review presents an outline of current advancements in the photochemical and electrochemical synthesis of oxazoles and isoxazoles. Oxazole and isoxazole are important building blocks for a variety of medicinally useful compounds. Therefore, the synthesis of these heterocycles via sustainable technologies is worth demanding. Photochemical and electrochemical are two among the few sustainable technologies. This review covers a brief discussion on reaction parameters like catalysts, substrates scope, reaction temperature, solvents, electrodes, electrolytes (in case of electrochemical process), light source (in case of photochemical process) for individual reaction. Detailed discussion on mechanistic insight for each reaction is also presented. Finally, summary, and future direction toward the development of effective electrochemical and photochemical methods for the reaction of oxazoles and isoxazoles is also presented.