In order to determine the relative contributions of tectonics and eustasy to the sedimentary infill of the Vienna Basin a high-resolution stratigraphic record of a Middle to Late Miocene sedimentary sequence was established for a well (Spannberg-21) in the central part of the Vienna Basin. The well is located on an intrabasinal high, the Spannberg Ridge, a location that is relatively protected from local depocentre shifts. Downhole magnetostratigraphic measurements and biostratigraphical analysis form the basis for the chronostratigraphic framework. Temporal gaps in the sedimentary sequence were quantified from seismic data, well correlations and high-resolution electrical borehole images. Stratigraphic control with this integrated approach was good in the Sarmatian and Pannonian, but difficult in the Badenian. The resulting sedimentation rates show an increase towards the Upper Sarmatian from 0.43 m/kyr to > 1.2 m/kyr, followed by a decrease to relatively constant values around 0.3 m/kyr in the Pannonian. The sequence reflects the creation of accommodation space during the pull-apart phase of the basin and the subsequent slowing of the tectonic activity. The retreat of the Paratethys from the North Alpine Foreland Basin during the Early Sarmatian temporarily increased the influx of coarsergrained sediment, but eventually the basin acted mostly as a by-pass zone of sediment towards the Pannonian Basin. At a finer scale, the sequence exhibits correlations with global eustasy indicators, notably during the Sarmatian, the time of greatest basin subsidence and full connectivity with the Paratethyan system. In the Pannonian the eustatic signals become weaker due to an increased isolation of the Vienna Basin from Lake Pannon.