Former intelligence chief Abdullah Senussi and Gaddafi's last prime minister Al-Baghdadi al-Mahmudi were also among those sentenced to death.
Seif al-Islam was not in court because he is held in the southwestern hill town of Zintan by militia opposed to the Tripoli authorities.
The trial, which opened in the Libyan capital in April last year, has been dogged by criticism from human rights watchdogs and an unresolved dispute with the International Criminal Court in The Hague over jurisdiction in the case of the Gaddafi son.
The militia holding Seif al-Islam is loyal to the internationally recognised government which fled to the remote east last August when a rival militia alliance seized the capital and set up its own administration.
More From This Section
Seif al-Islam's sole appearances before the court have been by video link and there have been none since May last year.
Most of the other defendants are held in the capital, but some are held in Libya's third city Misrata which is loyal to the Tripoli authorities.
Seif al-Islam is wanted by the Hague-based court on charges of war crimes and crimes against humanity.
ICC prosecutors say that as part of his father's "inner circle", he "conceived and orchestrated a plan to deter and quell, by all means, the civilian demonstrations against Gaddafi's regime".
He has been held in Zintan since his capture in November 2011 despite repeated ICC demands for Libya to hand him over for trial.