An infusion pump is disclosed, which comprises a housing including a first housing unit and a second housing unit, a chamber located at least partially in the first housing unit, an outlet, an outlet valve between the chamber and the outlet, an inlet, and an inlet valve between the inlet and the chamber. At least one of the outlet valve and the inlet valve is arranged between the first housing unit and the second housing unit. A method for providing such an infusion pump is also disclosed.