Bockhorn (German pronunciation: [ˈbɔkhɔʁn]) is a municipality in the district of Erding in Bavaria in Germany.