The effects of self-generated magnetic field on the density profile modification in laserplasma interactions are studied by calculating the field structure, assuming that plane electromagnetic waves propagate into an one-dimensional inhomogeneous magnetized plasma. The results obtained by computation are in agreement not only with the laser-target experiments using Nd-glass laser, but also with that using CO2 laser. In addition, calculations show naturally the density dip which has been observed in experiments.