In some circumstances, you have no choice about going through security twice. For example, if you fly to the U.S. from an international destination, and you make a connection in a foreign country before the U.S. flight leg, you have to go through security again.