A device for cooling a bus bar includes a heat absorption element, a heat transportation system and a heat output element. The heat absorption element and heat output element rest essentially in a form-fit manner on respective heat sources or heat sinks, with additional contact pressure being applied with the heat absorption element and heat output element by compression springs or contact elements.