It drains an arid area along the California–Baja California border, flowing through Mexico for most of its course and then crossing the border for the last 8 kilometers of its course where it forms an estuary that empties into the ocean.