Dancoff was raised in the Squirrel Hill neighborhood of Pittsburgh. He attended Carnegie Tech on a private scholarship and received his B.S. in physics in 1934, followed by a master's degree from the University of Pittsburgh in 1936. He then went to the University of California at Berkeley where he earned his PhD in 1939 under Robert Oppenheimer.
