Rabat

Tram
There are two lines between Rabat and Salé.

It costs only 6 MAD for one use and it works from 6am to 11 pm from Monday to Sunday. There is a tram every 10 minutes during the week and every 20 minutes during Sunday. One of the stations Mohammed V - Gare de Rabat.  edit is located exactly just in front of the downtown train station Gare de Rabat-Ville. It is a good way of getting around. Maps are available in every station.

Petit Taxis
All blue in color, mostly Fiat UNO and Renault DACIAS. This inexpensive way to get around town usually won't exceed 25/30 MAD, the minimum far is 5/6 MAD. Be sure to check the meter is running to avoid being over charged at the end of the trip, although this is much less of a problem than in other cities. Don't be surprised if the taxi stops to pick someone else up.
Grand Taxis
Avoid the white Mercedes Grand Taxis when traveling around Rabat: They are much more expensive and less safe than blue petit taxis.
Buses
There are now official bus routes listed and bus stops have signs showing at least the bus ligns that stop there. Costing only 4.00 MAD 60 US cents they are a cheap way to get to know the several layers of Rabat. The buses can be of very variable quality, but it could be worth taking the chance given the cost-saving and experience of what many locals with low income experience. Bus # 4 goes from Ocean, to Bab El Had to Avenue Fal Oueld Omair one of the major streets in the Agdal neighborhood all the way to its terminus in the upscale and calm new development of Hay Riad. If the bus is crowded watch out for pickpockets.
Car
Driving around yourself is not recommended. Insurance rates are high and most drivers will avoid hitting you at all costs; however, Morocco does have the second highest rate of car accidents in the world, and most drivers do not abide by the traffic laws. Driving doesn't necessarily mean you are going to have an accident but Moroccans recommend great caution when driving in Morocco.
Walking
If you aren't in a hurry, walking around the area of Centre Ville, Agdal, The University, the Medina, the Ocean/River and the monuments is easy and pleasant. The new Corniche on the river, leading to the Oudaias, has recently been re-done, and there are expected openings of cafes soon. The route cotiere, or coastal road, past the cemetery and the Oudaias has dramatic ocean-side views, especially charming at sunset.