King Ferdinand and his three friends, Biron, Longaville, and Dumain, plan to study philosophy for the next three years. During their academic pursuits, they must vow to sleep only three hours a night and not let any woman within a mile of court. These strict rules will prevent any distractions from their work - but their promises are soon put to the test when a princess and her three companions arrive for a state visit.