A membrane valve for controlling flow and pressure relief, has a format following the anatomy and the action mechanism of a sphincter, in order not to have restriction points to the fluid flow. The valve includes a body provided with terminal sections provided with ends and, internally, a folded membrane which opens and closes according to the flow and/or pressure exerted therein, directly or indirectly, locally or remotely.