Alkyl halides are a class of compounds where a halogen atom, such as chlorine, bromine, or iodine, is bonded to an alkyl group. These compounds are polar due to the significant dipole moment originating from the carbon-halogen bond. Nonetheless, you'd find them immiscible with water. This might seem counterintuitive initially, but it all boils down to intermolecular interactions.
Water molecules exhibit strong hydrogen bonding—a very intense form of dipole-dipole interaction—whereas the dipole-dipole interactions in alkyl halides are noticeably weaker. When you mix alkyl halides with water, the energy required to break the strong hydrogen bonds between water molecules is not compensated for by the establishment of weaker interactions with the alkyl halides.
- This means that alkyl halides will separate from water rather than mix with it because the system prefers to maintain the strong, stable hydrogen bonds already present in water.