Water can form four hydrogen bonds. The two lone pairs of oxygen atoms and the two hydrogen atoms of water are involved in intermolecular hydrogen bonding.