The Verdict: Unlikely
Your years on a dependant’s or student pass may not count, because the law asks for seven years living in Kenya on a valid permit. Switching to a permit in your own right is the safe way to start the clock.
Kenyan law treats permits and passes as separate things. The immigration service’s checklist asks for copies of the permits you held for the seven years, and we found nothing saying pass time counts. Ask the immigration service before relying on it.
If you hold a dependant’s pass because you are married to a Kenyan, the marriage route is better: permanent residence after three years of marriage, and citizenship after seven. See our marriage quiz. Otherwise, a work, business, retirement or digital nomad permit starts the clock: see those quizzes.