Leptospirosis is an endemic disease in Latin America, caused by pathogenic bacteria of the genus Leptospira. It is considered one of the main causes responsible for the negative economic impact on global livestock by causing reproductive problems. The research aimed to determine the prevalence of leptospirosis in cattle, sheep, and goats at consorted rearing in the micro-region of Teresina, Piauí state, northeastern Brazil, as well as to identify prevalent serovars and risk factors associated with seroprevalence. Serum samples were analyzed in 336 sheep, 292 goats, and 253 cattle using microscopic agglutination test (MAT). Overall, 378 samples were positive to MAT, with seroprevalence of 42.9%. The prevalences in cattle, sheep, and goats were 50.5, 40.5, and 34.6%, respectively. All herds presented at least one seropositive animal; the Hardjo/Wolffi serovar association was the most common in cattle and Icterohaemorrhagiae in goats and sheep. Beef production (OR = 4.9), cattle herd over 35 animals (OR = 4.0), feeding on pasture (OR = 6.4), weir and/or stream as water source (OR = 2.1), and no veterinary services (OR = 2.9) were risk factors for cattle infection. For sheep, intensive management system (OR = 5.3), suspended slatted facilities (OR = 2.2), more than 20 sheep in reproductive age (OR = 1.9), and absence of deworming (OR = 3.5) were the risk factors, while for goats, the identified risk factors were sheep herd over 52 animals (OR = 1.9) and no veterinary services (OR = 1.8). We conclude that the infection was spreading in consorted herds in this region. Thus, it would be interesting and important to conduct educative activities to farmers on the economic impacts of this disease and the need of preventive and control strategies mainly focused on sanitary measures and animal handling.