A pasar malam looks like the least regulated retail format in Malaysia and is one of the most closely specified. Every element a visitor notices — the stall width, the absence of permanent covers, the single night of the week, the abrupt cancellations — is written into a gazetted by-law, and two Selangor councils publish enough to count the whole thing.

The licence, and what it permits

The power comes from the Local Government Act 1976. Section 72(1)(c) lets a council license "temporary buildings, stalls, tables, showboards, barrows, carts, tricycles or other receptacles, whether stationary or otherwise, set up or used for the sale" of goods. Section 107 sets the terms on which any such licence is held, and they are unusually one-sided: a licence "shall be subject to such conditions and restrictions as the local authority may think fit and shall be revocable by the local authority at any time without assigning any reason therefor", and the council "may at its discretion refuse to grant or renew any licence without assigning any reason". A licence may run no more than three years, must be displayed prominently, and must be produced on demand.

Petaling Jaya's own instrument is the Hawker By-Laws (Petaling Jaya City Council) 2007, made under sections 73 and 102 of that Act, made by the council in its meeting of 29 May 2007, confirmed by the state authority on 4 July 2007, in force from 19 July 2007, and revoking the 1983 by-laws it replaced. It is gazetted in the Selangor state gazette rather than federally, which is why it does not appear on the national legislation portal.

Its central provision is short: "No person shall act as a hawker without a licence issued by the Licensing Authority under these By-Laws." The licensing authority is the mayor, the secretary, or an officer authorised in writing by the mayor. A licence, whenever it is issued, runs only "until 31 December of the current year".

A licence must state the holder's name, address and identity card number, carry a recent passport photograph, and specify the validity period, the licence type, the type of food, drinks or goods to be sold, the assistant's particulars, the business hours, and any further conditions the authority thinks fit. So the permitted trading hours are on the face of the document rather than posted at the market.

Twenty-nine sites, by night

The council publishes its night markets in an unexpected form: a monthly vacancy notice. The July 2026 edition lists each location, its operating day and the number of vacant pitches, in two zones.

Zone Location Day Vacancies
PJS Seksyen 20/16 Sunday 225
PJU Jalan TSB 9 Tuesday 214
PJU Sungai Way SS 3/39 Friday 174
PJU Sungai Way SS 3/39 Monday 135
PJU Prima Damansara Tuesday 133
PJS PJS 10/32 Farlim Sunday 127
PJU SS 5A FAM Saturday 123
PJS Seksyen 51A, Kampung Baiduri Friday 108
PJS Seksyen 17/1A Tuesday 90
PJU Jalan SS 4C, Kelana Jaya Wednesday 85
PJS Sunway Mentari PJS 8 Wednesday 71
PJU Seksyen 8 Kota Damansara Saturday 50
PJU Seksyen 3, Kota Damansara Friday 48
PJS Sri Manja Tuesday 42
PJS Kampung Lindungan PJS 6 Monday 42
PJS Seksyen 8 Petaling Jaya Saturday 38
PJU Lembah Subang Tuesday 32
PJU Kampung Cempaka Wednesday 24

Twelve entries in the PJS and Seksyen zone, seventeen in the PJU and SS zone, twenty-nine in total. Six of them carry no vacancy figure, and six are marked "ditangguhkan sehingga diberitahu" — deferred until further notice. Four of those deferred sites are the same location, Taman Medan PJS 2D, which had markets on Wednesday, Thursday, Saturday and Sunday and currently has none.

The vacancy numbers are the surprising part. Two hundred and twenty-five empty pitches at one Sunday market and 214 at one Tuesday market are not the marks of a format struggling for space, and they make the list useful in a way the council did not intend: a market with 225 vacancies is either very large or thinly traded.

Applying is not casual. The notice lists the documents required: two passport photographs, two copies of the applicant's identity card, two of a spouse's if any, a recent utility bill, a marriage certificate or divorce letter or spouse's death certificate as applicable, a doctor's letter if there is a health problem, proof of an active bank account, and a copy of any compound notice from the health or enforcement department. And applicants "akan dipanggil untuk sesi temuduga" — will be called for an interview.

The licensing discretion behind those rules is covered in the alcohol licensing guide.

Kajang counts its pitches, and Petaling Jaya does not

One Selangor council publishes considerably more, and it is the best available picture of the format's actual scale. Kajang's 2026 listing gives, for every market, the location, the traders' association and coordinator, the number of traders, the number of pitches and the supervisor's name.

Night Sites Traders Pitches
Monday 7 386 793
Tuesday 9 816 1,413
Wednesday 11 467 918
Thursday 10 596 1,152
Friday 6 427 579
Saturday 7 551 883
Sunday 9 576 1,053
Total 59 3,819 6,791

Two readings of that table matter. Wednesday has the most markets and Tuesday the most traders, so the busiest night by sites is not the busiest by people. And across the week, traders occupy 3,819 of 6,791 pitches — about 56 per cent — which is consistent with the large vacancy figures Petaling Jaya publishes next door.

For national context, the economic census counted 43,818 food stall and hawker establishments in Malaysia in 2022, with gross output of RM10.21 billion, alongside 39,149 restaurants. A further 13,744 establishments prepare food or drink in market stalls. So the stall economy is numerically larger than the restaurant economy and turns over about a fifth as much.

What that hygiene grade actually means is set out in the grade card guide.

What a pitch costs, across three councils

The fee schedules are gazetted, which makes this one of the few Malaysian food prices that can be stated exactly.

Council Pitch in a night market Other temporary pitch
Petaling Jaya RM5.00 a day RM8.00 a day
Ampang Jaya RM4.00 a day RM4.00 a month
Kuala Lumpur RM1.50 a night RM1.00 a day or night

Petaling Jaya's other fees run RM30 a year for a walking itinerant hawker, RM50 for a bicycle or tricycle, RM80 for a motorcycle, RM120 for a barrow, cart, car, van, lorry or bus, and RM180 for a wall showcase. Administrative charges are flat: RM5 for a form and RM50 for the licence, with the same pairing for a certified copy, a replacement, appointing a nominee, employing an assistant, or relocating a stall.

Kuala Lumpur's federal by-laws price by area instead, monthly: RM18 for a static hawker up to 1.6 square metres, RM27 up to 9, RM55 up to 18.6 and RM82 up to 27.9, plus RM62 a month for an itinerant hawker. They also set a deposit of up to RM50,000, and provide that renewal is not a right and must be applied for within sixty days before expiry.

One caution on Petaling Jaya's schedule: the Malay and English columns of the gazetted table disagree in two places. The static hawker fee reads RM180 per year in English and per month in Malay, and one vessel category reads RM200 in English against RM120 in Malay. Where a bilingual gazette contradicts itself, neither figure can be stated as settled, so those two lines are flagged rather than quoted.

How the Friday break works across states is set out in the Friday closure guide.

The stall is two metres by one, and no cover

The physical rules explain almost everything a visitor sees, and they are strict.

In Petaling Jaya, no stall other than one built by the council or a government or statutory body "shall exceed 2 metres in length and 1 metre in width" without written exemption. And then: "No additions or alterations or awnings or any type of cover shall be constructed to any stall." The council may remove an illegal cover and recover the cost. A handcart is capped at the same two metres by one, with a cover extending no more than 1.3 metres beyond any part of it.

That is why a pasar malam is a line of identical narrow tables under separately erected canopies rather than a row of built stalls, and why it can appear and vanish in an evening.

Siting is equally fixed. No hawking within nine metres of a street junction, within 3.6 metres of a fire hydrant, or on a stairway, five-foot way or public pavement without written permission.

Kuala Lumpur's rules are looser on size and tighter on hours: stalls up to five metres by three, wall showcases up to four metres by two high by one wide, and a provision that the commissioner "may direct a hawking activity to be operated at the hawking site within the period and time as specified" with extensions only on written application. Water must come from the public supply, and not from a toilet tap.

Food handling carries its own layer. Petaling Jaya's by-law 24 requires every licensee, nominee and assistant to submit to "such medical examination or immunization as may be directed by the Licensing Authority". Kuala Lumpur's equivalent adds a third limb: anyone involved in food preparation must "attend a basic course for food preparation recognized by the Ministry of Health Malaysia", with examination and inoculation by a registered medical or health officer. Federally, amending regulations coming into operation on 1 December 2026 delete the medical-examination limb from the food hygiene regulations while keeping immunisation — so the council layer and the federal layer will diverge from that date.

Who may hold a licence

This is the one place where the three by-laws differ on a matter of principle, and it is worth stating precisely.

Kuala Lumpur is explicit. By-law 5, headed Disqualification: "no licence shall be issued under these By-laws to any person who is— (a) a non-citizen of Malaysia; or (b) under the age of eighteen years old."

Petaling Jaya's by-law has no such provision. Its arrangement runs from by-law 1 to 54 with no disqualification clause at all, and no citizenship condition appears in the licence provisions. The same is true of Ampang Jaya's instrument.

So the answer to whether a foreigner may trade at a Malaysian night market is council by council, and in two Selangor councils' published by-laws there is no bar on the face of the instrument. That is an absence in the text, not a positive permission, and the licensing authority's unreviewable discretion under section 107 sits over it either way.

The powers behind the permit

The enforcement provisions are why a market can be cancelled with no notice, and they are worth reading in full because they are more extensive than the format suggests.

The licensing authority "may fix, revoke, cancel or change place, day and time of a night market or day market in the Council's area", and may "at any time at his discretion revoke the provision of the night market or day market" if temporary hawkers fail to comply with conditions. That is the legal basis for the four deferred Taman Medan markets, and no reason need be published.

Officers may enter and inspect without a warrant at all reasonable times, search, and seize with an inventory; a female person may be searched only by a female. Seized things are deemed forfeited after one calendar month if unclaimed, and no costs or damages are recoverable unless the seizure was without reasonable cause. The council may close any stall for breach, in the public interest, where there is no licence, or where a licence is unlawful. It may arrest without a warrant, with a detainee to be brought before a magistrate's court within 24 hours.

The general penalty is a fine up to RM2,000 or imprisonment up to a year or both, with RM200 a day for a continuing offence. Obstruction carries the same. But prosecution requires "the written consent of the Public Prosecutor", and the practical route is compounding: the mayor, secretary or legal officer may compound a prescribed offence on payment of up to RM1,000.

What this guide does not cover

No trader, stall or market is recommended here, and no food is described. The site list above is a vacancy notice, so a location's presence means pitches were available in July 2026, not that it is worth visiting.

Several items were sought and not found. No set-up or pack-up times are given, because no instrument regulates them and the licence states trading hours on its own face rather than publicly. No wet-weather cancellation rule was located. No figure exists for electronic payment or QR acceptance among night market traders specifically, as distinct from merchants generally.

Petaling Jaya publishes vacancies but not trader or pitch counts, so the only countable Selangor picture in this guide is Kajang's, and it is labelled as that council's rather than presented as typical. Both councils' figures are counted from published table cells, with rows published as a dash excluded from the sums.

Two structural cautions. Petaling Jaya's own hawker by-law is published only as a scanned image, so its text was read by optical character recognition — which is how the two bilingual fee discrepancies surfaced, and a reason to treat the exact figures as needing confirmation against the gazette. And Selangor council by-laws are not carried on the federal legislation portal at all: a search of its 7,317 subsidiary instruments for the word penjaja returns four records, all federal territories, and a search for Petaling Jaya returns none. These instruments live in the Selangor state gazette and were obtained from the councils' own websites.