A green and sustainable oxime ether formation method via the visible-light-promoted O−H functionalization of oximes with diazo esters is described. The reaction occurs under very mild conditions (catalyst-and additive-free) with a high yield and a high functional group tolerance. When the reaction was performed with a cyclic ether as the solvent (e.g., THF, 1,4-dioxane, tetrahydropyran, ect.), an interesting photochemical three-component reaction product was obtained in good yields.