The captain's dining room or captain's mess was an area aboard Starfleet vessels specifically designed for personal use by the captain in order to entertain guests and eat meals in private. It was generally equipped with food service by means of a kitchen, galley, or replicators. The mess sometimes included the services of a steward, who brought the meals and drinks to the captain's table.
The NX-class had a captain's dining room just off of the ship's mess hall. It was served by the ship's chef. On Enterprise NX-01, Captain Jonathan Archer often enjoyed a meal with two or three of his senior officers, T'Pol, Trip Tucker, and Travis Mayweather, in the captain's mess. (ENT: "Broken Bow", "Terra Nova") The captain's mess was also used for official dinners such as with Vulcan Captain Vanik in 2151. (ENT: "Breaking the Ice") Tucker also dined with Captain Hernandez in the captain's mess aboard Columbia NX-02 while he was briefly assigned to that vessel. (ENT: "Affliction")
On Galaxy-class starships, the captain's mess was on Deck 2. It was equipped with a large buffet-style table. (TNG: "Sins of The Father", "Violations")
Some Intrepid-class ships had a captain's dining room directly behind the mess hall, cabin 125-A on Deck 2. During the USS Voyager's first months in the Delta Quadrant, Neelix converted the captain's dining room into a kitchen area, much to Captain Kathryn Janeway's initial dismay. (VOY: "Phage")
Other contexts[]
Aboard Romulan Warbirds such as the IRW Khazara, the commander had a small dining room near the bridge, where she could dine with senior officers. (TNG: "Face Of The Enemy")
Aboard Annorax's Krenim weapon ship in an alternate timeline, there was also a small dining room where Annorax entertained Tom Paris and Chakotay with selections of cuisine from worlds that his temporal incursion had obliterated. (VOY: "Year of Hell, Part II")