An annual herb of dry sandy habitats. This clone was found at a roadside, which is typical for buttonweed.