This saw investors' paper wealth grow by Sh20 billion, with the market capitalisation hitting Sh2.17 trillion compared to Sh2.15 trillion on Friday.
The market, which opened with minimal activities in the early morning as investors waited for the apex court's ruling saw the main index, the Nairobi All Share Index (NASI) gain 5.93 per cent compared to Friday's trading.
The index closed the day at 143.37 points compared to 137.37 recorded at the opening of the market.
The NSE 20 share Index was up 7.96 points to stand at 1771.36 while NSE 25 Share Index added 38.39 points to settle at 3307.30.
The bourse opened the week with a total of 19.9M shares valued at Sh488 million, against 11 million shares valued at Sh287 million posted on Friday.
Safaricom was the day’s main feature with 4.2 million shares valued at Sh124 million traded between Sh28.00 and Sh30.60 representing 25.5 per cent of the day’s traded value.
Analysts have described the positive trading on a day investors were jittery about the Supreme Court ruling as a huge confidence in Kenya's democracy and rule of law, a key ingredient for investment.
Dan Mango of Apex Securities told the Star that there was less tension in the country ahead of the court ruling compared to a similar scenario in 2017.
"This time round, investors were not as worried compared to 2017. Although the market had light activities in the morning, huge moves were witnessed on various counters, especially that of Kenya Power,'' Mango said.
He added that good trading is a sign of investors' hope that almost six months of election fever are over.
His colleague, Hillary Mudasia said that although it is too early to weigh investors' feelings towards the new regime, positive trading on a tense day is a sign of confidence.
''The market almost crashed in 2017 when the apex court annulled President Uhuru's first win. The market was in chaos. We hope the positive sentiment persists,'' Mudasia said.
The 2017 ruling forced NSE to temporarily halt trading because of panicky transactions, especially by foreign investors.
"In line with NSE trading rules, we halted trading from 12.30 to 1.00 p.m. as NSE 20 Share Index performance decreased by over five percent," the NSE said on that day.
The slight recovery is coming after two weeks of court filings and hearings that escalated the negative trading at the Nairobi bourse.
The Nairobi stock shed Sh43 billion on the day Kenyan opposition leader Raila Odinga formally challenged the results of last month’s presidential election at the Supreme Court.
The stock market has been performing poorly since the beginning of the year, with The NSE-20 Share Index hitting 1,644 points in June, a level last seen in April 2003.
Apart from NSE, the shilling which has been on a free fall stabilised at 120.20 units against the dollar.
Financial analysts say stabilising the local currency is the major challenge awaiting the President-Elect when he was officially sworn into office in the next seven days.
''He has to fix the shilling to halt the rising cost of living. This is the major challenge for regimes across the world,'' Mudasia said.