NOVELTY - The procedure for the production of biogas or bioethanol from water- and lignocellulose containing biomass, comprises treating the biomass through a shredder, heating and thermally hydrolyzing the shredded biomass in a high pressure microwave at 150-250 degrees C and then subsequently reducing the pressure emerged in the high pressure microwave in the biomass by contacting a tubular device leading the biomass with an area with lower gas pressure, and subjecting the optional intermediately treated hydrolyzed biomass to anaerobic fermentation process.    USE - Procedure for the production of biogas or bioethanol from water- and lignocellulose containing biomass.    ADVANTAGE - The procedure ensures economical and fast production of biogas or bioethanol with high yield by the utilization of biomass energy.    DETAILED DESCRIPTION - The procedure for the production of biogas or bioethanol from water- and lignocellulose containing biomass, comprises treating the biomass through a shredder, heating and thermally hydrolyzing the shredded biomass in a high pressure microwave at 150-250 degrees C and then subsequently reducing the pressure emerged in the high pressure microwave in the biomass by contacting a tubular device leading the biomass with an area with lower gas pressure, and subjecting the optional intermediately treated hydrolyzed biomass to anaerobic fermentation process. The shredding is carried out with an extruder performed as single- or double screw extruder and/or double-chamber extruder. In the step of heating and hydrolyzing, the warming in the high pressure microwave is carried out within less than 4 minutes, and/or the device of the high pressure microwave leading the biomass has an inner width of maximum 10 cm, and/or the biomass leading device is reduced/relaxed within less than 2 seconds by contacting with the area with lower gas pressure at ambient pressure. The fermentation process is carried out microbiologically and/or enzymatically in a high power reactor with a digester load of less than 5 kg organic dry substance/m3 at 40 degrees C. The microwave applicator has a power of 50-150 kW and 800-1100 MHz and/or a pressure of 10-20 bar is reached in device part containing the biomass. A hydrolysis catalyst is added to the biomass before the hydrolysis. The biomass exists from maize, corn silage, grass, grass silage, entire plant crop, and silage out of cereals, straw, and manure. The biomass is heated at 140 degrees C through heat exchanger device after the treatment and cooled off at below 56 degrees C through the heat exchanger device before the fermentation. An INDEPENDENT CLAIM is included for a plant for the production of biogas or bioethanol from water- and lignocellulose containing biomass.    DESCRIPTION OF DRAWING(S) - The figure shows a schematic representation of a procedure and plant for the production of biogas or bioethanol from water- and lignocellulose containing biomass (Drawing includes non-English language text).