This draft guidance provides recommendations for establishing computer software assurance for production and quality system software used in medical devices. It describes a risk-based approach to ensure confidence in automated systems. The guidance also identifies various assurance activities and testing methods that can provide objective evidence of compliance with regulatory requirements for computer software validation. The guidance is intended to supplement an existing FDA guidance on general software validation principles.