Gout is primarily caused by hyperuricemia, a condition characterized by elevated levels of uric acid in the blood. This can result from increased production of uric acid, often due to dietary factors such as high consumption of purine-rich foods (e.g., red meat, seafood, alcohol), or decreased excretion due to kidney dysfunction. Genetic predisposition and certain medical conditions, such as hypertension or diabetes, can also contribute to the development of gout.