It happened late last night at the Corner Store Grocery on Eldridge near Greenway in Sugar Land.
Police say a man walked in with a gun and tried to hold up the store. But the clerk pulled out his own gun and shot the robber.
The suspect was taken to the hospital. His current condition is unknown. The clerk is not expected to face charges.