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.


Praise for Lancaster and Morecambe youngsters who took part in 'tongue movement' project
Clinic where students offer free legal advice to reopen at Lancaster University
Lines reopen after train derailment on Scotland-London line
Police arrest two and seize illegal bike in Morecambe
ITV commissions sixth series of Morecambe crime drama The Bay
E-bike shop moves from Lancaster to new Carnforth showroom
Lancaster workshop to tackle the issue of drink and needle spiking
Morecambe raw feeds shop up for three 'Animal Star' awards
Two new festivals proposed for Morecambe entertainment venue the Platform
Second day of disruption as work continues after train derails in Cumbria
Morecambe lifeboat crew’s swift response rescues swimmer ‘being swept dangerously out to sea’
'Street Meets' announced to answer your questions amid new wheelie bin roll-out
Campaign group welcomes new "life changing" bus service to Morecambe
Lancaster prison worker jailed for drug offences
Major disruption as train derails on West Coast Main Line
Talks begin for events to mark Eric Morecambe's 100th birthday
Lancaster music venue due to shut will now stay open "well into 2026"
Halloween What's On Guide
LISTEN: Launch of new group in Morecambe to help with gambling addiction
LISTEN: New centre for people with disabilities to open in historic Lancaster location
