Caatinga and Atlantic Forest are Brazilian biomes threatened by anthropogenic disturbances, which are a serious threat to biodiversity and favor the emergence of zoonotic pathogens. Capybara populations are increasingly present in urban and rural areas due to the loss of their natural habitats. There are no studies on the rickettsial infection in these rodents in Northeastern Brazil, although there are case records of Brazilian Spotted Fever (BSF) in this region. In this context, we evaluated rickettsial infection in capybaras and their ticks in four areas of the Atlantic Forest and Caatinga biomes in Northeastern Brazil. Blood sera from 21 capybaras were tested by indirect immunofluorescence assay (IFA) using Rickettsia rickettsii, R. parkeri, and R. amblyommatis antigens. Blood samples and ticks (Amblyomma sp., Amblyomma dubitatum and Amblyomma sculptum) were tested by PCR, targeting a fragment of the rickettsial gltA gene and R. bellii primers. Overall, 15 out of 21 capybaras (71.4%) reacted positively (titer ≥64) to at least one of the three Rickettsia antigens tested, with final titers ranging from 64 to 1024. No rickettsial DNA was found in capybara blood samples. Rickettsial DNA was detected in 22 of 31 adult tick pools using gltA gene, being all nine pools of A. sculptum and 16 of the 19 of A. dubitatum, but all samples were negative to R. bellii specific primers. All attempts to sequence the amplicon were unsuccessful, indicating a possible low rickettsial load in the tick samples. The present study reports for the first time the serological evidence of Rickettsia spp. infection in free-ranging capybaras and suggest the rickettsial infection in A. sculptum and A. dubitatum in the Caatinga and Atlantic Forest biomes in Northeastern Brazil.