Prins cyclization of homoallylic alcohols, thiols, and amines with various aldehydes in an ionic liquid HF salt (Et(4)NF.5HF) afforded the corresponding 4-fluorinated heterocycles in excellent yields.