Kenya also won six silver and three bronze medals, with Jamaica and the US in second and third place respectively.
Their final gold medal was won by Asbel Kiprop in the 1500m.
President Uhuru Kenyatta tweeted: "Our young people have once again shown that they are as good as the world's best and brightest."
"I'm so proud of myself to become a member of this exclusive club of three-times world champions," said Kiprop after his victory.
His was part of a strong Kenyan performance its traditional domains of middle- and long-distance running, with gold medals for David Rudisha in the men's 800m Vivian Cheruiyot in the women's 10,000m and Ezekiel Kemboi and Hyvin Jepkemoi triumphing in the men's and women's 3,000m steeplechase respectively.
Nicholas Bett won in the 400m hurdles and Julius Yego became the first Kenyan field event athlete to win a medal at the championships with victory in the men's javelin.
On Wednesday it was announced that two Kenyan athletes at the championships had been suspended after failing drugs tests.
RANK | COUNTRY | Gold | Silver | Bronze | TOTAL |
1 | KENYA | 7 | 6 | 3 | 16 |
2 | JAMAICA | 7 | 2 | 3 | 12 |
3 | UNITED STATES | 6 | 6 | 6 | 18 |
4 | GREAT BRITAIN & N.I. | 4 | 1 | 2 | 7 |
5 | ETHIOPIA | 3 | 3 | 2 | 8 |
6 | POLAND | 3 | 1 | 4 | 8 |
7 | CANADA | 2 | 3 | 3 | 8 |
7 | GERMANY | 2 | 3 | 3 | 8 |
9 | RUSSIA | 2 | 1 | 1 | 4 |
10 | CUBA | 2 | 1 | 0 | 3 |
11 | PR OF CHINA | 1 | 7 | 1 | 9 |
12 | NETHERLANDS | 1 | 1 | 1 | 3 |
13 | SOUTH AFRICA | 1 | 0 | 2 | 3 |
14 | BELARUS | 1 | 0 | 1 | 2 |
15 | COLOMBIA | 1 | 0 | 0 | 1 |
15 | CZECH REPUBLIC | 1 | 0 | 0 | 1 |
15 | ERITREA | 1 | 0 | 0 | 1 |
15 | SPAIN | 1 | 0 | 0 | 1 |
15 | SLOVAK REPUBLIC | 1 | 0 | 0 | 1 |
20 | AUSTRALIA | 0 | 2 | 0 | 2 |
20 | CROATIA | 0 | 2 | 0 | 2 |
22 | BAHAMAS | 0 | 1 | 1 | 2 |
22 | TRINIDAD AND TOBAGO | 0 | 1 | 1 | 2 |
22 | UKRAINE | 0 | 1 | 1 | 2 |
25 | BELGIUM | 0 | 1 | 0 | 1 |
25 | BRAZIL | 0 | 1 | 0 | 1 |
25 | EGYPT | 0 | 1 | 0 | 1 |
25 | ISRAEL | 0 | 1 | 0 | 1 |
25 | TAJIKISTAN | 0 | 1 | 0 | 1 |
25 | TUNISIA | 0 | 1 | 0 | 1 |
31 | FRANCE | 0 | 0 | 2 | 2 |
32 | BOSNIA-HERZEGOVINA | 0 | 0 | 1 | 1 |
32 | BAHRAIN | 0 | 0 | 1 | 1 |
32 | FINLAND | 0 | 0 | 1 | 1 |
32 | GREECE | 0 | 0 | 1 | 1 |
32 | GRENADA | 0 | 0 | 1 | 1 |
32 | JAPAN | 0 | 0 | 1 | 1 |
32 | KAZAKHSTAN | 0 | 0 | 1 | 1 |
32 | LATVIA | 0 | 0 | 1 | 1 |
32 | MOROCCO | 0 | 0 | 1 | 1 |
32 | PORTUGAL | 0 | 0 | 1 | 1 |
32 | SERBIA | 0 | 0 | 1 | 1 |
32 | UGANDA | 0 | 0 | 1 | 1 |