The present study was carried out to determine the important factors affecting cotton production in the Punjab province of Pakistan. A sample of 75 cotton growing respondents was randomly selected from different villages of Sargodha district. Cobb Douglas type production function was employed to assess the effects of education, land preparation, seed, irrigation, etc. on the productivity of cotton. Education, plant protection measures, fertilizer and land preparation were contributing towards higher cotton yield on the sampled respondents` farms. So, there is a need to educate the farmers on priority basis for adopting recommended practices. The extension staff can play a pivotal role in this regard.