A rack of lamb will take about 20-25 minutes to cook, depending on its size and the temperature you prefer. It's best to use a thermometer to determine the doneness rather than time since it leaves no room for error.