The requirements for standardized procedures, systematic documentation, and rapid response from personnel with different levels of training make the application of computer-based expert system technology a promising approach in the development of software that can aid in planning the response to chemical spills. In this paper, the development of a modular expert system is described. ERexpert, which was developed for use in the Microsoft Windows 3.1 environment, can be used to guide the nonexpert user through the emergency response process. The knowledge base of this program consists of two functional groups, a database of factual information and a rule base of heuristic expertise. The factual database, named Factbase, was developed using the Microsoft Access 1.0 relational database system. Spill related information was mapped into a set of subject-oriented tables. In the Rulebase, heuristic knowledge is first organized into a knowledge matrix, and the results are then converted into rules that can be used by the inference engine in solving problems with incomplete information. A multilayer knowledge domain matrix format has been designed to aid in the representation of complex decision-making processes. Microsoft Visual Basic 3.0 program language was used to develop the graphical user interface that provides quick and efficient control of the program. The implementation procedures and results are fully discussed together with a description of the program.