The IPCC has drawn attention to an apparent leveling-off of globally-averaged temperatures over the past 15 years or so. Measuring the duration of the hiatus has implications for determining if the underlying trend has changed, and for evaluating climate models. Here, I propose a method for estimating the duration of the hiatus that is robust to unknown forms of heteroskedasticity and autocorrelation (HAC) in the temperature series and to cherry-picking of endpoints. For the specific case of global average temperatures I also add the requirement of spatial consistency between hemispheres. The method makes use of the Vogelsang-Franses (2005) HAC-robust trend variance estimator which is valid as long as the underlying series is trend stationary, which is the case for the data used herein. Application of the method shows that there is now a trendless interval of 19 years duration at the end of the HadCRUT4 surface temperature series, and of 16 - 26 years in the lower troposphere. Use of a simple AR1 trend model suggests a shorter hiatus of 14 - 20 years but is likely unreliable.
 Intergovernmental Panel on Climate Change (IPCC) (2013) Climate Change 2013: The Physical Science Basis. Working Group I Contribution to the Fifth Assessment Report of the IPCC. Cambridge University Press, Cambridge.
 Morice, C.P., Kennedy, J.J., Rayner, N.A. and Jones, P.D. (2012) Quantifying Uncertainties in Global and Regional Temperature Change Using an Ensemble of Observational Estimates: The HadCRUT4 Dataset. Journal of Geophysical Research, 117, Article ID: D08101.
 Spencer, R.W. and Christy, J.C. (1990) Precise Monitoring of Global Temperature Trends from Satellites. Science, 247, 1558-1562.
 Mears, C.A. and Wentz, F.J. (2005) The Effect of Diurnal Correction on Satellite-Derived Lower Tropospheric Temperature. Science, 309, 1548-1551.
 Fyfe, J.C., Gillett, N.P. and Zwiers, F.W. (2013) Overestimated Global Warming over the Past 20 Years. Nature Climate Change, 3, 767-769.
 McKitrick, R. and Vogelsang, T.J. (2014) HAC-Robust Trend Comparisons Among Climate Series with Possible Level Shifts. Environmetrics.
 Lennartz, S. and Bunde, A. (2009) Trend Evaluation in Records with Long-Term Memory: Application to Global Warming. Geophysical Research Letters, 36, Article ID: L16706.
 Rybski, D., Bunde, A., Havlin, S. and von Storch, H. (2006) Long-Term Persistence in Climate and the Detection Problem. Geophysical Research Letters, 33, Article ID: L06718.
 Vogelsang, T.J. and Franses, P.H. (2005) Testing for Common Deterministic Trend Slopes. Journal of Econometrics 126, 1-24.
 Kiefer, N.M., Vogelsang, T.J. and Bunzel, H. (2000) Simple Robust Testing of Regression Hypotheses. Econometrica, 68, 695-714.
 Kiefer, N.M and Vogelsang, T.J. (2002) Heteroskedasticity-Autocorrelation Robust Standard Errors Using the Bartlett Kernel without Truncation. Econometrica, 70, 2093-2095.
 Santer B.D., Wigley, T.M.L., Boyle, J.S., Gaffen, D.J., Hnilo, J.J., Nychka, D., Parker, D.E. and Taylor, K.E. (2000) Statistical Significance of Trends and Trend Differences in Layer-Average Atmospheric Temperature Time Series. Journal of Geophysical Research, 105, 7337-7356.