Francesco Schettino, 52, said he was trying to “kill three birds with one stone” when he steered the cruise ship close to Giglio, an island off west Italy, two years ago.
He said he performed the salute to impress the ship’s head waiter, who was from Giglio, to please a friend staying on the island and to treat the passengers.
But the ship hit rocks with 4,200 people on board.
Schettino’s lawyers claim the disaster was not caused by the collision but a failure of a back-up generator and watertight compartments.
He told the court that it was common for ship’s captains to sail close to the islands to provide a stunning view for passengers.
Schettino said there was no obligation on him to tell the ship’s owners that he was embarking on a change of route when he performed the manoeuvre.
He faces up to 20 years in jail if he is found guilty.
The final moments of Costa Concordia
Costa Concordia completes final voyage to scrap yard
PHOTOS: Inside the sunken Costa Concordia
7 questions you should be asking your employer
3 yrs after Costa Concordia tragedy, Indian crewmember's body found