The duration it takes to remove the smell of weed from an apartment can vary based on factors such as ventilation, cleaning efforts, and the intensity of the odor. Generally, it may take a few hours to a few days to eliminate the unpleasant odor from neighbors who smoke pot.