The Vienna Basin is located in the transition zone between the Alps and the Carpathians. Its tectonostratigraphic structure is complex, and includes from base to top crystalline basement, autochthonous Mesozoic sediments, Cenozoic foreland basin deposits, the Alpine nappe system and a thick Neogene basin fill. The Vienna Basin area hosts one of the major hydrocarbon provinces of Central Europe, but also a significant geothermal potential. The petroleum system is mainly based on the Upper Jurassic Mikulov source rock in the authochthonous succession, which became mature during nappe stacking and Neogene basin subsidence. Migration along faults and via basement highs filled oil and gas reservoirs in all tectonostratigraphic units. Despite a 100-year-long exploration history, new discoveries are still being made. Two geothermal systems are known in the Vienna Basin. One system is based on hot fluids ascending along the major faults in the southern part of the basin and has been used for balenological purposes since Roman times. The other is based on deeply buried, highly permeable carbonate rocks in the Alpine wedge (e.g. Hauptdolomite Formation) and clastic reservoirs in the Neogene basin fill. Current projects aim to supply the city of Vienna with geothermal heat from Lower Miocene fluvial conglomerates.