The invention comprises a heat exchanger with plate structure and a flow guide plate (32). The flow guide plate (32) comprises at least one recess (42) for turning the stream of a heat transfer medium substantially from the direction of the thickness of the plate to be parallel with the plane of the plate.