A mathematical model is developed for mud cake growth and fluid invasion around a horizontal wellbore during drilling. The non-axisymmetry of the invasion front is addressed for the case of water based drilling mud and isotropic rock formation. It is shown that the invasion profile may lose convexity due to gravitation even though the filtrate density is the same as that of the pore fluid in the rock.