The invention belongs to the field of horizontal well logging guiding technologies, and discloses a horizontal well target layer dynamic modeling method while drilling. The method is mainly characterized in that before landing, the dip angle, in a profile, of a target layer is firstly calculated; then the drilling thickness of the target layer is calculated according to the depth of the top surface of the target layer to be drilled; with the lithology, the electrical property, gas logging and other longitudinal change characteristics, in an adjacent well, of the target layer as reference, the longitudinal position, in the layer, of a drill bit is judged while drilling, an upper boundary line and a lower boundary line of the target layer are reverse calculated with the position of the drill bit, target layer dynamic modeling while drilling is achieved, and track design in a next step is carried out according to a latest deduction model. Through calibration, correction and deduction carried out on the form of the target layer by information while drilling, the horizontal well target layer dynamic modeling method while drilling achieves dynamic fine depiction of the target layer, improves prediction accuracy, guides fining adjustment and control over a track, guides the drill bit to effectively penetrate through the target layer, and finally improves the drilling catching rate.