The California dairy industry is a significant part of the agricultural output of the state of California. Milk has the highest farm revenue among California agricultural commodities. California ranks first out of the fifty states in dairy production. In 2020 the state had about 1,300 dairy farms and 1.727 million dairy cows.[1][dead link ] As of 2018, the state produced nearly 20 percent of all U.S. milk.[2]