Ottenhofen (German pronunciation: [ɔtn̩ˈhoːfn̩]) is a municipality in the district of Erding in Bavaria in Germany.