A pet barrier is disclosed. When the pet barrier is deployed the second flat panel slides under the cushion of a piece of furniture and is slid toward the back of the furniture until it fits snuggly against the cushion and projects the first panel of the pet barrier upward blocking access to the furniture.