Indium-mediated one-pot esterification reaction of acyl chlorides or anhydride by using in situ-prepared homoallyl alcohols from aromatic aldehydes and allyl bromide proceeded smoothly to afford the corresponding homoallyl alcohol esters in high yields within about 1h, which provided a simple and efficient protocol for the simultaneous allylation and esterification of aldehydes without other catalysts and dehydrants.