RAIPUR: A total of 1,271 farmers killed themselves during the last two-and-half years in Chhattisgarh, the Assembly was told today.