The responsibility for maintaining a knowledge management system lies with a dedicated team or individual, often known as knowledge managers or administrators, who ensure the system is up-to-date, organized, and accessible for users.