The team announced Wednesday that Lansford won't be retained after his contract expires at the end of the month.
Lansford spent two seasons as hitting coach. The team had the second fewest homers (122) and drew the fewest walks (392) in the majors this season.
The Giants finished 88-74, four games behind wild-card winner Colorado. Manager Bruce Bochy received a two-year contract extension with a club option Tuesday.
Lansford played 15 years in the majors, winning the AL batting title in 1981 and the World Series with Oakland in 1989.