The average adult female mosquito can live up to 42-56 days. That means a single female mosquito can potentially survive in your house for almost two months. Outside, mosquitoes will only live in temperatures over 50°F, but preferably 80°F. Adult male mosquitoes have a shorter lifespan, they only live up to 10 days. https://endmosquitoes.com/mosquito-lifespan-how-long-do-mosquitoes-live/In the dormant stage during cold weather, she can generally go as long as six months without eating or drinking.
Once the weather warms up, she requires a meal more regularly. If she becomes trapped or otherwise unable to obtain a food source, she is likely to die within four days. https://elevatepestcontrol.com/mosquito-faqs/how-much-time-can-a-mosquito-live-without-eating/