SOUTH DENNIS — Dennis is two small steps closer to meeting its need for affordable rental housing now that a six-unit complex, which includes two affordable units, has permission to move ahead with development.

The Dennis Planning Board approved a special permit for converting an office building into a rental complex in accordance with an affordable zoning bylaw at its March 5 meeting at Town Hall.

The P.J. Nyberg Family L.P. owns the property, and Bass River Properties applied for the special permit, according to Planning Department documents.

The complex, located at 323 Main St. in West Dennis, will include three 700-square-foot one-bedroom units and three 500-square-foot efficiency units. The two affordable units, which will be on the ground floor, will include one of each type of unit and be rented to two-person families for about $846 per month, or to individuals for about $644 per month, Dennis Town Planner Daniel Fortier said.

Dennis is 1,552 rental units short of meeting its population’s needs, according to a 2015 Cape Cod Commission housing analysis. That figure includes a shortage of 495 affordable rentals for families that earn up to 80 percent or less of the median income, which equates to $54,400 or less in annual earnings for two-person households and $61,200 or less for three-person households.

“The people that are moving into these houses are your schoolteachers, your policemen and your municipal government workers,” Planning Board member Brad Bishop said.