Policy institutes such as central banks need accurate forecasts of key measures of economic activity to design stabilization policies that reduce the severity of economic fluctuations. Therefore, this paper develops a kernel ridge regression estimator in a mixed data sampling framework. Kernel ridge regression can handle many predictors with a nonlinear relationship to the target variable. Consequently, it has potential to improve the currently used principal component-based methods when the economic data follow a nonlinear factor structure. In a Monte Carlo study, we show that the kernel ridge regression approach is superior in terms of mean square error and is more robust than principal component-based methods to different nonlinear data generating processes. By using a dataset consisting of 24 economic indicators, we forecast Swedish gross domestic production. The results confirm the superiority of the kernel ridge regression approach. Therefore, we suggest that policy institutes consider the use of kernel-based approaches when forecasting key measures of economic activity.