We consider estimation and inference on average treatment effects under unconfoundedness conditional the realizations of variable covariates. Given nonparametric smoothness and/or shape restrictions mean outcome variable, we derive estimators confidence intervals (CIs) that are optimal in finite samples when regression errors normal with known variance. In contrast to conventional CIs, our CIs ...