how long do fruit flies live? will fruit flies go away on their own? while a fruit fly's lifespan can vary widely based on environmental conditions, two to four weeks is a good rule of thumb, baldwin says.