The optimal length of time to leave a job listing active varies depending on factors like the role's seniority, the current job market conditions, and the response rate. As a general rule, it's a good idea to leave listings active for at least 2-4 weeks to ensure maximum visibility and attract a sufficient number of qualified applicants.