Following are the conditions required for the formation of a covalent bond:
(i) High ionisation energy of the participating atoms.
(ii) High electron affinity of the participating atoms.
(iii) High electronegativities of the participating atoms.
(iv) Zero or least electronegativity difference between the participating atoms
(v) 4 or more valence electrons