The length of the main storyline in Dex can vary depending on your playstyle and how much time you spend on side quests and exploration. On average, it takes around 15 to 20 hours to complete the main storyline.