Mr. Johnson visited the outskirts of the city on Sunday before being received by Ukraine's President Volodymyr Zelensky.
The Conservative MP said it was a "privilege" to visit the country at the invitation of Mr. Zelensky.
The unannounced visit came as fresh questions over the former prime minister's finances emerged in the UK.