We give a necessary optimality condition for the minima of quasiconvex functions on closed convex sets using subdifferentials and normal cones. We consider both the case of a general convex set and a convex set defined as a constrained set for a quasiconvex l.s.c. function.