The MELCOR computer code has been used to analyze the first 174 min of the Three Mile Island Unit 2 (TMI-2) accident. MELCOR is being developed at Sandia National Laboratories for the U.S Nuclear Regulatory Commission for the purpose of analyzing severe accidents in nuclear power plants. Comparison of the code predictions to the available data shows that MELCOR is capable of modeling the key events of the TMI-2 accident, and reasonable agreement with the available data is obtained. In particular, the core degradation and hydrogen generation models agree with best-estimate information available for this phase of the accident. While the code uses simplified modeling, all important characteristics of the reactor system and the accident phenomena could be modeled. This exercise demonstrates that MELCOR is applicable to severe accident analysis.