WASHINGTON—Former Senate staffer James A. Wolfe pleaded not guilty on Wednesday on charges of lying to the Federal Bureau of Investigation in a case that has drawn attention to a renewed government push in pursuit of media leaks.

In a brief appearance before a federal magistrate judge in Washington, D.C., Mr. Wolfe entered a plea and then was released with some restrictions on travel, firearm ownership and handling of classified information.

Mr....