Lancaster police said a knife was sold to an undercover child during a test purchasing operation in the city.
Officers partnered with Trading Standards to test six premises on Wednesday, during Knife Crime Awareness Week.
They said five premises "passed with flying colours" but "one unfortunately failed and sold a knife to our underage volunteer".
"We are following up with enforcement activity to make sure this doesn’t happen again," said a police spokesperson.
"This is just one of many operations we are undertaking this week as a part of Op Sceptre.
"Although this week is Sceptre week of action, we work closely with Trading Standards all year round to regularly check premises' compliance with the law, offer education packages to help prevent sales to young people and then in the unfortunate case of sales being made to someone under the age of 18, enforcement follows."
It is an offence to sell a knife or bladed article to anyone aged under 18, and to be in possession of a knife or any article which has a blade or is sharply pointed, or other offensive weapon in public.
Find out where your local knife amnesty bin is HERE.
Op Sceptre is a week of action against knife crime.
If you have any information about knife crime in your area, call 101 or report anonymously through the independent charity Crimestoppers on 0800 555 111.


Morecambe children's nursery announces plans to close during extreme heat
Lancaster MP responds to Sir Keir Starmer's resignation as Prime Minister
Carnforth High School praised as a "caring community" in Ofsted report
Body of man found in Lancaster park
LISTEN and PHOTOS: Armed Forces weekend will return after massive crowds enjoy biggest ever event
Morecambe MP says Sir Keir Starmer "has made right decision" as Prime Minister resigns
Limited edition artwork will raise vital funds for Lancaster community group
Green Heritage Plaque marks first home of Lancaster University
New home revealed for £20m Morecambe West End regeneration scheme
Wooden nests take flight in Lancaster and Morecambe to stop decline of endangered birds
Veterans salute as Armed Forces Day flag raised at start of celebration weekend in Morecambe
Vandals cause delays to aqueduct sinkhole repairs in Lancaster
Extra Care scheme to open in Lancaster
Three people taken to hospital after road traffic collision in Morecambe
Injured police officer speaks of anger after jailed man freed 16 days after sentence
Morecambe woman to brave the shave to help dogs stay with their families
M6 near Lancaster to close for resurfacing
Full line-up for biggest ever Armed Forces weekend in Morecambe
Lancaster District residents thanked for embracing food waste recycling
More gridlocks in Heysham as roundabout resurfacing works 'over-run'

