Buenaventura bay is characterized by a great dynamic of environmental variables. There is descriptive information concerning the distribution of macroinvertebrates in the bay and its habitat, however it is necessary to document on its dynamics in relation to environmental variables. The objective of the present work was to determine the espatio-temporal variation in the structure and composition of macroinvertebrates and their relationship with the environmental variables. Four sampling (April-June-September-November) were carried out throughout 2015, in four stations (Estuary River-Internal Estuary-External Estuary-Marine Estuary). At each station three samples of sediments, physicochemical variables of the water and macroinvertebrates were collected. A total of 532 individuals were found in 17 species and 9 families. The abundance varied from 0.7±1.2 to 29.7±7.4 individuals per trawl and the richness varied from 0.3±1.2 to 4.7±1.2 species per trawl. The multiple regression analysis suggests an influence of the variables salinity and percentage of clayson the structure and composition of macroinvertebrates in the bay. The abundance and richness of macroinvertebrates was higher when the salinity conditions prevailed in the estuary.