Abstract The goal of state estimation,is to reconstruct,the state of a system,from,process,mea- surements,and,a model.,State estimators,for most,physical,processes,often,must,ad- dress many different challenges, including nonlinear dynamics, states subject to hard constraints (e.g. nonnegative concentrations), and local optima. In this article, we com- pare,the performance,of two,such,estimators:,the,extended,Kalman,filter (EKF) and moving,horizon,estimation,(MHE). We illustrate conditions,that lead to estimation,fail- ure in the EKF when,there is no plant-model,mismatch,and,demonstrate,such,failure via several simple examples. We then examine the role that constraints, the arrival cost, and the type,of optimization,(global versus,local) play,in determining,how,MHE performs on these examples. In each example, the two estimators are given exactly the same in- formation, namely tuning parameters, model, and measurements; yet MHE consistently provides,improved,state estimation,and,greater,robustness,to both,poor,guesses,of the initial state and,tuning,parameters,in comparison,to the EKF.