Determine the extent to which socioeconomic, demographic, geographic, and climate variables affected the incidence of dengue and dengue hemorrhagic fever (D/DH) in Costa Rica during the period 1999-2007. A correlational epidemiologic study was conducted that analyzed the cumulative incidence of D/DH from 1999 to 2007 and its association with different variables in the country's 81 cantons. Information was obtained from secondary sources, and the independent variables used for the analysis were selected on the basis of their representativeness in terms of sociodemographic, environmental, and health coverage factors that affect the epidemiology of D/DH. These variables were divided into four groups of indicators: demographic, socioeconomic, housing, and climate and geographical. The data were analyzed by means of simple and multiple Poisson regressions. The Costa Rican cantons with a higher incidence of D/DH were located primarily near the coast, coinciding with some of the variables studied. Temperature, altitude, and the human poverty index were the most relevant variables in explaining the incidence of D/DH, while temperature was the most significant variable in the multiple analyses. The analyses made it possible to correlate a higher incidence of D/DH with lower-altitude cantons, higher temperature, and a high human poverty index ranking. This information is relevant as a first step toward prioritizing and optimizing actions for the prevention and control of this disease.