The invention discloses a method for in situ generating a nano cellulose microfibril reinforced polymer composite material, comprising the following steps: using ionic liquid as a primary solvent, dissolving cellulose, or mixing cellulose with other polymers via solution mixing, and controlling the solubility of the cellulosic material in the solvent to maintain naturally occurring nano cellulose microfibril in the cellulosic material, so as to in situ obtain the nano cellulose microfibril reinforced polymer composite material. The nano microfibril can be observed under a transmission microscope obviously, which is different from the completely dissolved cellulose solution. In the preparing process, the dissolving temperature is controlled within 30-150 DEG C, and stirring and vacuum deaeration are used as auxiliary. By controlling the dissolving time, solution concentration and ratio of mixing, a polymer solution containing cellulose microfibril with dimension of 5-300 nanometers can be obtained. The polymer solution can be used for preparing composite material fiber, hollow fibrous membrane, diaphragm, film, gel, porous material and other known applications of enhanced material.