Rubin was married to Robert Rubin, a physicist. She wrote a children's book on astronomy to encourage young girls to study science. Rubin had four children named David, Allan, Judith, and Carl. Her children all became scientists. 