The invention provides a flow regulating and pressure regulating valve, and belongs to the field of valves. The flow regulating and pressure regulating valve comprises a valve body, wherein the valvebody is at least divided into two parts, namely a left valve body and a right valve body; a water inlet is formed in the left side of the left valve body, the left valve body is internally provided with a flow guide cylinder which is integrally connected with the left valve body, and a water flow channel is formed between the flow guide cylinder and the valve body; the right end of the right valvebody is provided with a water outlet, the side wall of the right valve body is provided with a sewage outlet, the sewage outlet is close to the water outlet, a piston is arranged at the water outlet,the piston and the contact surface of the water outlet is tightly attached, and the piston is rotationally connected with a rocker arm through a connecting rod; the rocker arm is connected to a rotating shaft in a sleeving mode, the rotating shaft penetrates through the side wall of the left valve body, the end, extending out the side wall, of the rotating shaft is connected with a driving device, and the rotating shaft drives the piston to linearly move through the driving device. The flow regulating and pressure regulating valve has the advantages that the water flow size is automatically adjusted, the pipeline impact force is reduced, the pipeline pressure is reduced, and the flow regulating and pressure regulating valve is flexible and reliable.