Erny-Saint-Julien (; ; ) is a commune in the Pas-de-Calais department in the Hauts-de-France region of France.
A farming village situated southeast of Saint-Omer, at the D158 and D193 crossroads. It is surrounded by the communes Bomy, Enquin-les-Mines and Fléchin.