This paper examines the formation of the local knowledge of Gukeng coffee through behavioral approach in agricultural geography. It is known that such knowledge lies in the everyday-life practices of farmers, and that whether farmers would plant a certain crop depends on such external factors as social trends and economic circumstances. Research results show that (1) the promotional efforts from the local government, the community building of Gukeng after the Ji Ji Earthquake in 1999, and the positive image of Gukeng coffee in popular commercials contributed to the revival of the local coffee sector. It is such a revival that inspired farmers to grow even more coffee trees. (2) Profit is crucial to the production behavior of farmers, which is constrained by capability, coupling and authority. For instance, most of the farmers with small farms in Gukeng are involved in initial processing themselves. (3) The production knowledge of farmers with small farms is composed of the memories and imagination about the past, learning through networking, and learning by doing.