A quadrupedal robot inspired by the basilisk lizard was developed and modeled with a 3-D real time simulation. Due to the robot's geometry, leg motion, and water interactions, the net pitch moment at the center of mass is not zero making pitch motion unstable. This paper introduces two types of tails, passive and active, to stabilize pitch motion and analyzes the advantages and disadvantages of each. It is shown in simulation that a purely passive tail can stabilize pitch motion and lead to a steady state robot pitch angle in the absence of disturbances. It is further shown that an active tail can compensate for disturbances and correct any drift in therobot body pitch angle due to changes in robot running speed.