A magnetic valve includes a valve component and a valve body that engages around a region of the valve component in a hood-like manner and in a sealing manner in at least one sealing region. A flow chamber is formed between the valve body and an end face of the valve component. The valve component has an axially running through-channel with a constant cross-section which passes through the end face and which opens into the flow chamber so as to form an axial duct for a fluid. The valve body has a through-opening that is fluidically connected to the flow chamber and is configured to be closed by a closing element that is movably arranged on a valve body face that faces away from the flow chamber. The end face is configured as a type of lip seal ring.